<!DOCTYPE html>
<html>
    <head>
        <title>Travelina | Indonesian Travel Destination Reviews</title> 
        <link href="<?php echo base_url() ?>/FontAwesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
        <link href="<?php echo base_url() ?>/Bootstrap/bootstrap.min.css" rel="stylesheet" type="text/css"/>
        <link href="<?php echo base_url() ?>/Css/style.css" rel="stylesheet" type="text/css"/>
        <link href="<?php echo base_url() ?>/Fonts/Font_Importer.css" rel="stylesheet" type="text/css"/>
        <script src="<?php echo base_url() ?>/Bootstrap/jquery.js" type="text/javascript"></script>
        <script src="<?php echo base_url() ?>/Bootstrap/bootstrap.min.js" type="text/javascript"></script>
    </head>
    <body>
        <div id="login-container">
            <a href="<?php echo base_url() ?>" title="Back to Travelina">x</a>
            <h1>travelina <small>Login Area</small></h1>
            <div id="login-form">
                <form action="<?php echo site_url('Admin/do_login') ?>" method="post">
                    <?php if($this->session->flashdata('login_fail') != ""): ?>
                        <div class="alert alert-danger"  style="text-align: center; padding: 5px 10px;">
                             <i class="fa fa-exclamation-triangle fa-2x"></i><br/>
                             <?php echo $this->session->flashdata('login_fail'); ?>
                        </div>
                    <?php endif; ?>
                    <label>Username</label>
                    <div class="input-group input-group-lg">
                        <span class="input-group-addon"><i class="fa fa-user fa-fw"></i></span>
                        <input type="text" name="frm_username" class="form-control input-lg" placeholder="Username">
                    </div>
                    <label>Password</label>
                    <div class="input-group input-group-lg">
                        <span class="input-group-addon"><i class="fa fa-key fa-fw"></i></span>
                        <input type="password" name="frm_password" class="form-control input-lg" placeholder="Password">
                    </div>
                    <button value="login" class="btn btn-login" type="submit" name="btn_login">Login</button>
                </form>
            </div>

            <div id="footer-sm">
                Powered by
                <img src="<?php  echo base_url('Images/logo.png')?>" width="130px"/>
            </div>
        </div>
    </body>
</html>
